package com.pp.service;

import com.baomidou.mybatisplus.extension.service.IService;
import com.pp.bean.PpUser;
import com.pp.bean.ResultPage;
import com.pp.bean.VoPage;

import java.io.UnsupportedEncodingException;

/**
 * <p>
 *  服务类
 * </p>
 *
 * @author 张子艺
 * @since 2019-03-06
 */
public interface IPpUserService extends IService<PpUser> {
    /**
     * 用户信息
     * @param code  微信回调code
     * @return
     */
    PpUser userInfo(String code) throws UnsupportedEncodingException;

    /**
     * 表格查询
     * @param voPage 分页
     * @return
     */
      ResultPage<PpUser> findList(VoPage voPage,PpUser ppUser);
}
